def fn():
    print("one")
    x = yield "hello"
    print("two", x)
    y = 5 + (yield x)
    print("three", y)


f = fn()
next(f)
f.send(2)
# f.send(5)